'''arr = [1,2,3,4,5,6,7,8,9]
print(arr[0])
arr.append(10)
print(arr[-1])#负数表示倒数，-1为倒数第一个
arr.insert(0,0)
print(arr)
del arr[4]
print(arr)
pop_arr = arr.pop()
print(arr)
print(pop_arr)
arr.remove(1)
print(arr)'''

'''people = ['zhangsan','lisi','wangwu']
print(people)
print(f'{people[0]}没法来！')
people[0] = 'zhaoliu'
print(people)
people.insert(0,'贾宝玉')
people.insert(2,'林黛玉')
people.append('薛宝钗')
print(people)
lslen = len(people)
while lslen>2:
    people.pop()
    lslen = len(people)
print(people)
del people[0]
del people[0]
print(people)'''

'''arr = [1,8,4,5,7,9]
print(sorted(arr,reverse=True))
print(arr)
arr.sort( reverse=True)
print(arr)
arr.sort()
print(arr)
arr.reverse()
print(arr)
print(len(arr))'''

arr = [1,2,3]
for arre in arr:
    print(arre)
